package com.wiseman.runner;

import android.location.LocationManager;

public interface ConstValue {
	
	public static final String PACKAGE_NAME = "com.wiseman.runner";
	
	public static final String INTENT_DATA_TRIPDATA = PACKAGE_NAME +".TripData";	
	public static final String INTENT_ACTION_EDIT = PACKAGE_NAME +".edit";
	public static final String INTENT_ACTION_NEW = PACKAGE_NAME +".new";
	
	public static final int REQUEST_EDIT = 1; 
	public static final int REQUEST_PREFERENCE = 2; 
	
	public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm";
	
	//for preference.
	final String KEY_LOCATION_METHOD = "locationMethod";
	final String KEY_INTERVAL_TIME = "IntervalTime";
	final String KEY_INTERVAL_DISTANCE = "IntervalDistance";
	final String KEY_BACKUP = "backup";
	final String KEY_RESTORE = "restore";
	
	final String COMMAND_BACKUP = "backupDatabase";
	final String COMMAND_RESTORE = "restroeDatabase";
	
	
	public static final String PREFS_NAME = "com.wiseman.runner_preferences";
	

	//database info.
	public static final String DB_NAME = "Trip_Database";
	public static final int DB_VER = 1;
	
	public static final String DB_TRIP_TABLE = "Travel_Info";	
	
	public static final int DEFAULT_INTERVAL_TIME = 60;		
	public static final int DEFAULT_INTERVAL_DISTANCE = 20;			
	public static final String DEFAULT_LOCATION_PROVIDER =  LocationManager.GPS_PROVIDER;
	
}
